import axios from "axios";

/**
 * 获得所有店铺列表
 * @param page
 * @param size
 * @returns {Promise<AxiosResponse<any>>}
 */
export const  getShopList = (page,size)=>{
    return axios({
        url:'/shop/findAllShop',
        method:'get',
        params:{
            page,
            size
        }
    })
}

/**
 * 获取店铺的审核列表
 * @param shopId
 */
export const getShopAuditList = (shopId) =>{
    return axios({url:"/shopOperateLog/findByShopId",params:{shopId}})
}